package csu.web.credit_bank.service;

import csu.web.credit_bank.pojo.UserFavorite;
import com.baomidou.mybatisplus.extension.service.IService;

public interface UserFavoritesService extends IService<UserFavorite> {
    UserFavorite createFavorite(UserFavorite favorite);
    UserFavorite getFavorite(String userId, String itemId, Integer itemType);
    UserFavorite updateFavorite(UserFavorite favorite); // 业务上较少用
    boolean deleteFavorite(String id);
}